POST /ServerGroup/

Creates a server group with the specified name.
 

Request

Method Request URI
POST /API/ServerGroup/?sessionId=value

URI Parameters

URI Parameter Description
sessionId ID of the current session. Specifying via an Authorization request header instead is recommended.

Request Headers

Authorization: Bearer <Current session ID>

Request Body

Name: name
Type: System.String

Response

Response Body

The ID of the newly-created group, or -1 if a group with the specified name already exists.